﻿@using Pyramid.Models
@{
	var master = (AttendanceMaster) ViewBag.Master;
}
@Html.Partial("_QueryForm", master)
@(ViewBag.HasError ? Html.Partial("_Error", new ErrorViewModel
                                            {
	                                            Message = ViewBag.Message
                                            })
	  : Html.Partial("_EditForm", master.AttendanceDetails))